package com.atguigu.yeb.server.base;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

/**
 * @author senior
 * @create 2021-12-04 9:58
 */
@AllArgsConstructor
@Getter
@ToString
public enum  ResponseEnum {

    SUCCESS(0,"成功"),
    ERROR(-1,"返回失败"),
    SERVIECE_ERROR(500,"服务器内部错误");

    //状态码
    private Integer code;
    //状态信息
    private String message;
}
